package com.java.base.exercise.designmode.responsibilitychain;

/**
 * @Author RenPu
 * @Date 2022/11/12 20:06
 * @Version 1.0
 * @Description: 责任链模式----将责任链绑定者
 **/
public abstract class Handler {

    protected Handler success;
    public Handler(Handler success) {
        this.success=success;
    }

    protected abstract void handlerRequest(Reque reque);

}
